package ar.posti.framework.query.core.filter;

import ar.posti.framework.query.core.filter.expression.And;
import ar.posti.framework.query.core.filter.expression.Or;


public abstract class AbstractBooleanCriteria implements BooleanCriteria {
	public BooleanCriteria and(BooleanCriteria filter) {
		return new BooleanExpression(new And(this, filter));
	}

	public BooleanCriteria or(BooleanCriteria filter) {
		return new BooleanExpression(new Or(this, filter));
	}
	
	@Override
	public abstract String toString();
}
